
<form id="form_edit">
<input type="hidden" name="id" value="{[$smarty.request.id]}" />
<table>
	<tr>
		<td width="20%" align="right">编号：</td>
		<td width="30%"><input type="text" name="code" id="code" size="20" value="{[$result.code]}"></td>
		<td width="20%" align="right">状态：</td>
		<td width="30%"><select name='status'>
	  {[html_options options=$status_option selected=$result.status]}
	  </select></td>
	</tr>
	<tr>
		<td align="right">名称：</td>
		<td colspan="3"><textarea rows="2" name="name" cols="55">{[$result.name]}</textarea></td>
	</tr>
	<tr>
		<td align="right">大类：</td>
		<td colspan="3"><input type="text" name="category" id="category" size="20" value="{[$result.category]}">
		<select name='category_t' id='category_t'>
      {[html_options options=$category_option selected=-]}
      </select></td>
	</tr>
	<tr>
		<td align="right">小类：</td>
		<td colspan="3"><input type="text" name="type" id="type" size="20" value="{[$result.type]}">
		<select name='type_t' id='type_t'>
		</select></td>
	</tr>
	<tr>
		<td align="right">规格：</td>
		<td colspan="3"><textarea rows="2" name="standard" cols="55">{[$result.standard]}</textarea></td>
	</tr>
	<tr>
		<td align="right">排序：</td>
		<td colspan="3"><input type="text" name="unit" id="unit" size="12" value="{[$result.unit]}"></td>
	</tr>	
</table>
</form>

<script type="text/javascript" src="js/material/edit.js?r={[$smarty.now]}"></script>